<include file="Public/header" title='添加分类'/>
<div id="page-wrapper">
    <form method="post" action="{$action}">
        <input name="id" value="{$id}" type="hidden">
        <div class="form-group">
            <label>标题</label>
            <input type="text" name="title" class="form-control" placeholder="输入标题" value="{$save.title}">
        </div>
        <div class="form-group">
            <label>描述</label>
            <input type="text" name="bewrite" class="form-control" placeholder="输入描述" value="{$save.bewrite}">
        </div>
        <div class="form-group">
            <label>关键词</label>
            <input type="text" name="keyword" class="form-control" placeholder="输入商品分类关键词" value="{$save.keyword}">
        </div>
        <div class="form-group">
            <label>商品上级分类ID</label>
            <input type="text" name="higher_id" class="form-control" placeholder="输入商品上级分类ID" value="{$save.higher_id}">
        </div>
        <div class="form-group">
            <label>商品分类名称</label>
            <input type="text" name="name" class="form-control" placeholder="输入商品分类名称" value="{$save.name}">
        </div>
        <div class="form-group">
            <label>分类状态(0:不显示,1:显示)</label>
            <input type="text" name="state" class="form-control" placeholder="输入分类状态" value="{$save.state}">
        </div>
        <div class="form-group">
            <label>是否显示在导航(0:不显示,1:显示)</label>
            <input type="text" name="navi" class="form-control" placeholder="输入是否显示在导航" value="{$save.navi}">
        </div>
        <div class="form-group">
            <label>排序</label>
            <input type="text" name="sort" class="form-control" placeholder="输入排序" value="{$save.sort}">
        </div>
        <button type="submit" class="btn btn-default">提交</button>
    </form>
</div>

<include file="Public/footer" />